name = "itheima is a brand of itcast"
i = 0
for x in name:
    print(x)
    if x == 'a':
        i += 1

print(f"{name}中共含有：{i}个a")